home *** CD-ROM | disk | FTP | other *** search
/ Joint Education Initiative / Joint Education Initiative.iso / programs / dos / gna / contour.h < prev    next >
C/C++ Source or Header  |  1989-12-28  |  24KB  |  597 lines

  1. /*    This is the include file with index (regionalization) information
  2.     about the contours and boundary data sets for the Geophysics of
  3.     North America (GNA) CD-ROM software.
  4.  
  5.     There are nine sets of data described in this file:
  6.     1. DNAG Gravity Contours
  7.     2. DNAG Magnetics
  8.     3. ETOPO5 Topography Contours
  9.     4. Low-Resolution Coastlines
  10.     5. High-Resolution Coastlines
  11.     6. State Boundaries
  12.     7. County Boundaries
  13.     8. Isostatic Gravity
  14.     9. Magsat Magnetics
  15.  
  16.     Each section has three parts:
  17.     A. Definition of a short variable which contains the number of regions
  18.         used by that data set
  19.     B. An array of contour_reg structures which describes the regionalization
  20.         of the data set.
  21.     C. An array of long ints which gives the offset in bytes to the beginning
  22.         of each region in the index file. */    
  23.  
  24.  
  25. /* Structure Definition: */
  26.  
  27. /*struct  contour_reg {        ** Structure of region limits for contour files **
  28.     float    wlon,            ** Spatial Limits **
  29.             slat,
  30.             elon,
  31.             nlat;
  32.     short     num_segs_in;        ** Number of segments in region **
  33. };
  34. */
  35.  
  36.  
  37. /************************** DNAG Gravity data ******************************/
  38.  
  39. #define num_gr_reg  100
  40.  
  41. struct contour_reg grav_reg[] = {    /* gravity contour regions */
  42.     219.389,5.329,226.945,12.596,37,
  43.     226.754,5.709,234.284,13.525,31,
  44.     234.007,6.186,242.571,14.377,51,
  45.     242.235,6.697,251.182,14.826,64,
  46.     250.956,6.786,259.901,15.072,47,
  47.     259.899,6.729,268.848,15.072,130,
  48.     268.616,6.501,277.521,14.890,215,
  49.     277.137,6.158,285.834,14.309,189,
  50.     285.281,5.765,293.600,13.606,233,
  51.     292.894,5.266,300.657,12.591,211,
  52.     218.147,11.602,226.070,18.947,40,
  53.     225.267,12.920,233.885,20.404,50,
  54.     232.881,13.675,242.151,22.236,54,
  55.     241.379,14.409,250.895,23.054,94,
  56.     250.500,14.902,259.899,23.216,170,
  57.     259.898,14.905,269.302,23.331,162,
  58.     268.862,14.404,278.417,23.071,234,
  59.     277.632,13.653,287.031,22.257,232,
  60.     285.901,12.650,294.958,21.024,229,
  61.     293.618,11.555,302.065,19.478,288,
  62.     216.628,18.334,224.790,25.937,42,
  63.     223.043,19.733,232.710,28.222,49,
  64.     231.094,21.336,241.321,30.032,87,
  65.     240.061,22.373,250.485,30.945,345,
  66.     250.192,23.061,259.890,31.616,136,
  67.     259.886,23.076,270.009,31.620,137,
  68.     269.306,22.312,279.747,31.209,155,
  69.     278.475,21.031,288.748,30.013,212,
  70.     287.038,19.483,296.103,28.234,100,
  71.     294.962,17.989,303.912,25.901,68,
  72.     212.903,24.021,222.645,32.282,53,
  73.     220.074,26.587,230.837,35.402,75,
  74.     228.404,28.540,239.875,37.764,132,
  75.     238.060,30.084,249.742,39.324,448,
  76.     248.815,31.337,259.886,39.895,220,
  77.     259.874,31.367,271.090,39.894,150,
  78.     270.034,30.103,281.698,39.360,160,
  79.     279.814,28.405,291.098,37.781,154,
  80.     288.996,26.604,299.241,35.177,90,
  81.     297.169,24.094,307.045,32.425,81,
  82.     208.677,29.638,219.740,38.660,83,
  83.     216.264,32.904,228.333,42.265,82,
  84.     225.025,35.491,238.005,45.364,286,
  85.     235.114,37.838,248.652,47.412,364,
  86.     247.052,39.368,259.873,48.169,168,
  87.     259.854,39.366,272.685,48.169,268,
  88.     271.127,37.892,284.524,47.366,165,
  89.     281.913,35.756,295.083,45.351,178,
  90.     291.600,33.259,303.830,42.431,125,
  91.     300.242,29.725,311.174,38.687,84,
  92.     204.163,34.917,215.311,44.221,67,
  93.     211.584,38.912,224.368,48.098,101,
  94.     220.286,42.858,234.914,52.750,328,
  95.     230.766,45.407,246.942,55.446,280,
  96.     244.451,47.480,259.853,56.437,130,
  97.     259.826,47.490,275.141,56.411,239,
  98.     272.756,45.467,288.883,55.468,182,
  99.     284.913,42.435,300.098,52.746,206,
  100.     295.095,38.868,309.225,48.882,198,
  101.     304.129,35.010,315.854,44.445,102,
  102.     197.146,40.933,210.238,49.389,91,
  103.     203.532,45.134,219.346,54.602,86,
  104.     212.664,49.041,230.723,59.522,217,
  105.     224.459,52.905,244.417,63.294,195,
  106.     240.193,55.515,259.822,64.714,139,
  107.     259.779,55.517,279.369,64.710,151,
  108.     275.296,53.337,295.498,63.356,178,
  109.     289.288,49.071,307.527,59.756,161,
  110.     300.395,44.553,315.971,54.885,190,
  111.     309.294,40.600,322.723,49.436,165,
  112.     189.531,44.021,203.334,53.433,133,
  113.     194.382,49.476,212.014,59.721,163,
  114.     202.164,54.915,224.010,65.959,189,
  115.     213.574,59.793,240.190,70.868,134,
  116.     232.493,63.343,259.771,72.986,173,
  117.     259.692,63.529,287.011,72.991,99,
  118.     279.898,59.899,305.900,70.932,177,
  119.     295.686,55.113,317.874,66.099,218,
  120.     307.806,49.636,325.120,59.934,151,
  121.     316.493,44.137,330.161,53.549,109,
  122.     180.438,47.444,194.349,55.979,155,
  123.     183.377,53.447,201.682,63.000,172,
  124.     187.849,59.878,213.289,70.587,155,
  125.     196.678,66.080,231.851,77.613,90,
  126.     216.131,71.117,259.666,81.263,192,
  127.     259.430,71.092,304.376,81.265,223,
  128.     287.320,66.134,323.546,76.154,182,
  129.     306.310,60.110,331.388,70.716,204,
  130.     318.233,53.618,336.622,63.367,120,
  131.     325.536,47.413,339.278,56.252,133,
  132.     170.556,49.426,183.111,57.127,134,
  133.     170.717,56.239,187.282,64.382,105,
  134.     178.238,63.380,195.488,72.396,81,
  135.     172.276,71.112,214.384,81.206,159,
  136.     173.085,77.987,259.350,89.504,217,
  137.     248.749,77.831,346.924,89.534,299,
  138.     304.875,70.974,348.486,81.428,204,
  139.     324.176,63.739,349.013,72.982,278,
  140.     332.162,56.376,349.284,64.885,159,
  141.     336.805,49.570,349.436,57.300,103};
  142.  
  143. /* Byte offsets to the beginning of each region in the gravity index file. */
  144. long gr_off_index [] =
  145.                             {0,740,1360,2380,3660,4600,7200,11500,15280,19940,
  146.                             24160,24960,25960,27040,28920,32320,35560,40240,
  147.                             44880,49460,55220,56060,57040,58780,65680,68400,
  148.                             71140,74240,78480,80480,81840,82900,84400,87040,
  149.                             96000,100400,103400,106600,109680,111480,113100,
  150.                             114760,116400,122120,129400,132760,138120,141420,
  151.                             144980,147480,149160,150500,152520,159080,164680,
  152.                             167280,172060,175700,179820,183780,185820,187640,
  153.                             189360,193700,197600,200380,203400,206960,210180,
  154.                             213980,217280,219940,223200,226980,229660,233120,
  155.                             235100,238640,243000,246020,248200,251300,254740,
  156.                             257840,259640,263480,267940,271580,275660,278060,
  157.                             280720,283400,285500,287120,290300,294640,300620,
  158.                             304700,310260,313440};
  159.  
  160. /************************** DNAG Magnetics *******************************/
  161.  
  162. #define num_dnmag_reg  133
  163.  
  164. struct contour_reg dnmag_reg[] = {    /* dnmag boundary regions */
  165.     170.037, 50.911, 179.000, 53.500, 196,
  166.     170.041, 53.500, 179.000, 62.417, 270,
  167.     170.037, 62.417, 179.000, 70.292, 711,
  168.     179.000, 49.078, 188.000, 53.500, 521,
  169.     179.000, 53.500, 188.000, 62.417, 374,
  170.     179.000, 62.417, 188.000, 69.130, 523,
  171.     188.000, 45.246, 197.000, 53.500, 1430,
  172.     188.000, 53.500, 197.000, 62.417, 825,
  173.     188.000, 62.417, 197.000, 71.333, 410,
  174.     191.000, 71.333, 197.000, 80.149, 76,
  175.     198.458, 39.120, 206.000, 44.583, 818,
  176.     197.000, 44.583, 206.000, 53.500, 3387,
  177.     197.000, 53.500, 206.000, 62.417, 1176,
  178.     197.000, 62.417, 206.000, 71.333, 1077,
  179.     197.000, 71.333, 206.000, 80.214, 702,
  180.     209.537, 28.167, 215.000, 35.667, 1414,
  181.     206.000, 35.667, 215.000, 44.583, 600,
  182.     206.000, 44.583, 215.000, 53.500, 1245,
  183.     206.000, 53.500, 215.000, 62.417, 1717,
  184.     206.000, 62.417, 215.000, 71.333, 1110,
  185.     206.000, 71.333, 215.000, 80.212, 1288,
  186.     220.412, 5.875, 224.000, 8.917, 212,
  187.     218.620, 8.917, 224.000, 17.833, 719,
  188.     215.833, 17.833, 224.000, 26.750, 1587,
  189.     215.000, 26.750, 224.000, 35.667, 2620,
  190.     215.000, 35.667, 224.000, 44.583, 1766,
  191.     215.000, 44.583, 224.000, 53.500, 1969,
  192.     215.000, 53.500, 224.000, 62.417, 2495,
  193.     215.000, 62.417, 224.000, 71.333, 907,
  194.     215.000, 71.333, 224.000, 80.213, 729,
  195.     224.000, 6.167, 233.000, 8.917, 241,
  196.     224.000, 8.917, 233.000, 17.833, 576,
  197.     224.000, 17.833, 233.000, 26.750, 2735,
  198.     224.000, 26.750, 233.000, 35.667, 2935,
  199.     224.000, 35.667, 233.000, 44.583, 3155,
  200.     224.000, 44.583, 233.000, 53.500, 3175,
  201.     224.000, 53.500, 233.000, 62.417, 2349,
  202.     224.000, 62.417, 233.000, 71.333, 359,
  203.     224.000, 71.333, 233.000, 80.214, 294,
  204.     233.000, 6.875, 242.000, 8.917, 219,
  205.     233.000, 8.917, 242.000, 17.833, 624,
  206.     233.000, 17.833, 242.000, 26.750, 2305,
  207.     233.000, 26.750, 242.000, 35.667, 2926,
  208.     233.000, 35.667, 242.000, 44.583, 2421,
  209.     233.000, 44.583, 242.000, 53.500, 2507,
  210.     233.000, 53.500, 242.000, 62.417, 1372,
  211.     233.000, 62.417, 242.000, 71.333, 520,
  212.     233.000, 71.333, 242.000, 80.214, 182,
  213.     242.000, 7.000, 251.000, 8.917, 460,
  214.     242.000, 8.917, 251.000, 17.833, 3473,
  215.     242.000, 17.833, 251.000, 26.750, 4599,
  216.     242.000, 26.750, 251.000, 35.667, 2023,
  217.     242.000, 35.667, 251.000, 44.583, 1897,
  218.     242.000, 44.583, 251.000, 53.500, 1513,
  219.     242.000, 53.500, 251.000, 62.417, 2087,
  220.     242.000, 62.417, 251.000, 71.167, 1917,
  221.     242.000, 72.500, 251.000, 80.212, 110,
  222.     251.000, 7.292, 260.000, 8.917, 810,
  223.     251.000, 8.917, 260.000, 17.833, 6241,
  224.     251.000, 17.833, 258.109, 25.464, 1885,
  225.     251.000, 27.995, 260.000, 35.667, 1043,
  226.     251.000, 35.667, 260.000, 44.583, 1671,
  227.     251.000, 44.583, 260.000, 53.500, 988,
  228.     251.000, 53.500, 260.000, 62.417, 4333,
  229.     251.000, 62.417, 260.000, 71.333, 2594,
  230.     251.000, 71.333, 260.000, 80.213, 210,
  231.     260.000, 7.250, 269.000, 8.917, 506,
  232.     260.000, 8.917, 269.000, 16.625, 1186,
  233.     261.024, 18.542, 269.000, 26.750, 65,
  234.     260.000, 26.750, 269.000, 35.667, 613,
  235.     260.000, 35.667, 269.000, 44.583, 2140,
  236.     260.000, 44.583, 269.000, 53.500, 3695,
  237.     260.000, 53.500, 269.000, 62.417, 4878,
  238.     260.000, 62.417, 269.000, 71.333, 2354,
  239.     260.000, 71.333, 269.000, 80.213, 375,
  240.     269.000, 6.995, 278.000, 8.917, 974,
  241.     269.000, 8.917, 278.000, 17.833, 1561,
  242.     269.000, 17.833, 278.000, 26.750, 319,
  243.     269.000, 26.750, 278.000, 35.667, 832,
  244.     269.000, 35.667, 278.000, 44.583, 1939,
  245.     269.000, 44.583, 278.000, 53.500, 4010,
  246.     269.000, 53.500, 278.000, 62.417, 2660,
  247.     269.000, 62.417, 278.000, 70.083, 2020,
  248.     269.000, 71.995, 278.000, 80.213, 613,
  249.     278.000, 6.833, 283.421, 8.917, 190,
  250.     278.000, 8.917, 287.000, 17.833, 467,
  251.     278.000, 17.833, 287.000, 26.750, 971,
  252.     278.000, 26.750, 287.000, 35.667, 1592,
  253.     278.000, 35.667, 287.000, 44.583, 2760,
  254.     278.000, 44.583, 287.000, 53.500, 5339,
  255.     278.000, 53.500, 287.000, 62.417, 4627,
  256.     278.000, 62.417, 287.000, 71.333, 1318,
  257.     278.000, 71.333, 287.000, 80.213, 619,
  258.     289.208, 7.997, 296.000, 8.917, 58,
  259.     287.000, 8.917, 296.000, 17.833, 397,
  260.     287.000, 17.833, 296.000, 26.750, 3405,
  261.     287.000, 26.750, 296.000, 35.667, 2144,
  262.     287.000, 35.667, 296.000, 44.583, 1010,
  263.     287.000, 44.583, 296.000, 53.500, 5897,
  264.     287.000, 53.500, 296.000, 62.417, 4881,
  265.     287.000, 62.417, 296.000, 71.333, 1261,
  266.     287.000, 71.333, 296.000, 80.208, 284,
  267.     296.000, 8.042, 300.380, 8.917, 69,
  268.     296.000, 8.917, 302.417, 17.833, 442,
  269.     296.000, 17.833, 305.000, 26.750, 4277,
  270.     296.000, 26.750, 305.000, 35.667, 3887,
  271.     296.000, 35.667, 305.000, 44.583, 1070,
  272.     296.000, 44.583, 305.000, 53.500, 5499,
  273.     296.000, 53.500, 305.000, 62.417, 2021,
  274.     296.000, 62.417, 305.000, 71.333, 625,
  275.     296.000, 71.333, 304.542, 76.125, 166,
  276.     305.000, 24.867, 305.963, 26.750, 84,
  277.     305.000, 26.750, 310.750, 35.667, 941,
  278.     305.000, 35.667, 314.000, 44.583, 1025,
  279.     305.000, 44.583, 314.000, 53.500, 665,
  280.     305.000, 53.500, 314.000, 62.417, 452,
  281.     305.000, 62.417, 314.000, 70.966, 357,
  282.     314.000, 37.458, 323.000, 44.583, 463,
  283.     314.000, 44.583, 323.000, 53.500, 1078,
  284.     314.000, 53.500, 323.000, 62.417, 1491,
  285.     314.000, 62.417, 323.000, 68.005, 393,
  286.     323.000, 43.917, 323.000, 43.921, 10,
  287.     323.000, 45.333, 332.000, 53.500, 1625,
  288.     323.000, 53.500, 332.000, 62.417, 2874,
  289.     323.000, 62.417, 332.000, 68.500, 1743,
  290.     332.000, 47.625, 341.000, 53.500, 498,
  291.     332.000, 53.500, 341.000, 62.417, 1759,
  292.     332.000, 62.417, 341.000, 71.333, 2539,
  293.     334.333, 71.333, 341.000, 79.583, 192,
  294.     341.000, 49.500, 349.005, 53.500, 188,
  295.     341.000, 53.500, 349.958, 62.417, 858,
  296.     341.000, 62.417, 349.958, 71.333, 2988,
  297.     341.000, 71.333, 349.375, 79.588, 477};
  298.  
  299.  
  300. /* Byte offsets to the beginning of each region in the dnmag index file. */
  301. long dnmag_off_index [] =
  302.         {0 ,  3920,  9320, 23540, 33960, 41440, 51900, 80500, 97000,
  303.         105200, 106720, 123080, 190820, 214340, 235880, 249920, 278200,
  304.         290200, 315100, 349440, 371640, 397400, 401640, 416020, 447760,
  305.         500160, 535480, 574860, 624760, 642900, 657480, 662300, 673820,
  306.         728520, 787220, 850320, 913820, 960800, 967980, 973860, 978240,
  307.          990720,1036820,1095340,1143760,1193900,1221340,1231740,1235380,
  308.         1244580,1314040,1406020,1446480,1484420,1514680,1556420,1594760,
  309.         1596960,1613160,1737980,1775680,1796540,1829960,1849720,1936380,
  310.         1988260,1992460,2002580,2026300,2027600,2039860,2082660,2156560,
  311.         2254120,2301200,2308700,2328180,2359400,2365780,2382420,2421200,
  312.         2501400,2554600,2595000,2607260,2611060,2620400,2639820,2671660,
  313.         2726860,2833640,2926180,2952540,2964920,2966080,2974020,3042120,
  314.         3085000,3105200,3223140,3320760,3345980,3351660,3353040,3361880,
  315.         3447420,3525160,3546560,3656540,3696960,3709460,3712780,3714460,
  316.         3733280,3753780,3767080,3776120,3783260,3792520,3814080,3843900,
  317.         3851760,3851960,3884460,3941940,3976800,3986760,4021940,4072720,
  318.         4076560,4080320,4097480,4157240};
  319.  
  320. /****************************** ETOPO5 Topography Data ***********************/
  321.  
  322. #define num_etopo5_reg  72
  323.  
  324. struct contour_reg etopo5_reg[] = {    /* topography contour regions */
  325.     170.000, 75.083, 184.917, 89.674, 58,
  326.     170.000, 60.083, 184.917, 75.167, 242,
  327.     170.000, 45.083, 184.917, 60.167, 523,
  328.     170.000, 30.083, 184.917, 45.167, 937,
  329.     170.000, 15.083, 184.917, 30.167, 1419,
  330.     170.000, 0.083, 184.917, 15.167, 993,
  331.     184.833, 75.083, 199.917, 89.821, 81,
  332.     184.833, 60.083, 199.917, 75.167, 166,
  333.     184.833, 45.083, 199.917, 60.167, 340,
  334.     184.833, 30.083, 199.917, 45.167, 782,
  335.     184.833, 15.083, 199.917, 30.167, 1569,
  336.     184.833, 0.083, 199.917, 15.167, 1608,
  337.     199.833, 75.083, 214.917, 89.866, 72,
  338.     199.833, 60.083, 214.917, 75.167, 553,
  339.     199.833, 45.083, 214.917, 60.167, 709,
  340.     199.833, 30.083, 214.917, 45.167, 950,
  341.     199.833, 15.083, 214.917, 30.167, 1313,
  342.     199.833, 0.083, 214.917, 15.167, 1123,
  343.     214.833, 75.083, 229.917, 89.866, 49,
  344.     214.833, 60.083, 229.917, 75.167, 746,
  345.     214.833, 45.083, 229.917, 60.167, 1564,
  346.     214.833, 30.083, 229.917, 45.167, 1406,
  347.     214.833, 15.083, 229.917, 30.167, 1005,
  348.     214.833, 0.083, 229.917, 15.167, 406,
  349.     229.833, 75.083, 244.917, 89.833, 76,
  350.     229.833, 60.083, 244.917, 75.167, 608,
  351.     229.833, 45.083, 244.917, 60.167, 2748,
  352.     229.833, 30.083, 244.917, 45.167, 1872,
  353.     229.833, 15.083, 244.917, 30.167, 1489,
  354.     229.833, 0.083, 244.917, 15.167, 474,
  355.     244.833, 75.083, 259.917, 89.926, 106,
  356.     244.833, 60.083, 259.917, 75.167, 159,
  357.     244.833, 45.083, 259.917, 60.167, 548,
  358.     244.833, 30.083, 259.917, 45.167, 1314,
  359.     244.833, 15.083, 259.917, 30.167, 2032,
  360.     244.833, 0.083, 259.917, 15.167, 846,
  361.     259.833, 75.083, 274.917, 89.955, 215,
  362.     259.833, 60.083, 274.917, 75.167, 220,
  363.     259.833, 45.083, 274.917, 60.167, 120,
  364.     259.833, 30.083, 274.917, 45.167, 198,
  365.     259.833, 15.083, 274.917, 30.167, 832,
  366.     259.833, 0.083, 274.917, 15.167, 988,
  367.     274.833, 75.083, 289.917, 89.962, 321,
  368.     274.833, 60.083, 289.917, 75.167, 408,
  369.     274.833, 45.083, 289.917, 60.167, 280,
  370.     274.833, 30.083, 289.917, 45.167, 337,
  371.     274.833, 15.083, 289.917, 30.167, 1100,
  372.     274.833, 0.083, 289.917, 15.167, 1039,
  373.     289.833, 75.083, 304.917, 89.961, 172,
  374.     289.833, 60.083, 304.917, 75.167, 421,
  375.     289.833, 45.083, 304.917, 60.167, 581,
  376.     289.833, 30.083, 304.917, 45.167, 749,
  377.     289.833, 15.083, 304.917, 30.167, 941,
  378.     289.833, 0.083, 304.917, 15.167, 504,
  379.     304.833, 75.083, 319.917, 89.929, 90,
  380.     304.833, 60.083, 319.917, 75.167, 701,
  381.     304.833, 45.083, 319.917, 60.167, 265,
  382.     304.833, 30.083, 319.917, 45.167, 1226,
  383.     304.833, 15.083, 319.917, 30.167, 2106,
  384.     304.833, 0.083, 319.917, 15.167, 788,
  385.     319.833, 75.083, 334.917, 89.698, 110,
  386.     319.833, 60.083, 334.917, 75.167, 330,
  387.     319.833, 45.083, 334.917, 60.167, 979,
  388.     319.833, 30.083, 334.917, 45.167, 1510,
  389.     319.833, 15.083, 334.917, 30.167, 1678,
  390.     319.833, 0.083, 334.917, 15.167, 1372,
  391.     334.833, 75.083, 349.917, 89.289, 177,
  392.     334.833, 60.083, 349.917, 75.167, 570,
  393.     334.833, 45.083, 349.917, 60.167, 503,
  394.     334.833, 30.083, 349.917, 45.167, 1076,
  395.     334.833, 15.083, 349.917, 30.167, 451,
  396.     334.833, 0.083, 349.917, 15.167, 573};
  397.  
  398. /* byte offsets to the beginning of each region in the etopo5 index file. */
  399. long etopo5_off_index [] =
  400.                             {0, 1160, 6000, 16460, 35200, 63580, 83440, 85060,
  401.                             88380, 95180, 110820, 142200, 174360, 175800, 186860, 
  402.                             201040, 220040, 246300, 268760, 269740, 284660, 
  403.                             315940, 344060, 364160, 372280, 373800, 385960, 
  404.                             440920, 478360, 508140, 517620, 519740, 522920, 
  405.                             533880, 560160, 600800, 617720, 622020, 626420, 
  406.                             628820, 632780, 649420, 669180, 675600, 683760, 
  407.                             689360, 696100, 718100, 738880, 742320, 750740, 
  408.                             762360, 777340, 796160, 806240, 808040, 822060, 
  409.                             827360, 851880, 894000, 909760, 911960, 918560, 
  410.                             938140, 968340, 1001900, 1029340, 1032880, 1044280, 
  411.                             1054340, 1075860, 1084880};
  412.  
  413. /********************** Low resolution coastlines *************************/
  414.  
  415. #define num_coastlo_reg  6
  416.  
  417. struct contour_reg coastlo_reg[] = {    /* low-res coastline regions */
  418.     170.100, 60.300, 269.700, 80.100, 54,
  419.     270.300, 60.300, 347.600, 83.600, 54,
  420.     172.300, 28.000, 253.500, 59.900, 58,
  421.     260.800, 25.100, 350.000, 60.000, 44,
  422.     170.800, 0.000, 350.000, 24.800, 118,
  423.     170.000, 15.600, 350.000, 83.100, 26};
  424.  
  425. /* byte offsets to the beginning of each region */
  426. long coastlo_off_index [] = {0, 1080, 2160, 3320, 4200, 6560};
  427.  
  428. /***************************** High-Resolution Coastlines ******************/
  429. #define num_coast_reg  41
  430.  
  431. struct contour_reg coast_reg[] = {    /* high-res coastlines */
  432.         195.047, 54.367, 204.447, 60.736, 11,
  433.         191.867, 63.214, 200.230, 70.605, 3,
  434.         205.192, 56.396, 224.454, 61.509, 15,
  435.         199.876, 68.657, 231.145, 71.408, 6,
  436.         230.707, 44.920, 237.814, 52.884, 28,
  437.         225.028, 53.142, 231.181, 58.518, 23,
  438.         235.623, 33.003, 248.004, 41.790, 10,
  439.         234.002, 64.805, 264.838, 80.151, 59,
  440.         242.316, 60.831, 251.100, 62.953, 2,
  441.         262.225, 24.538, 280.712, 33.151, 40,
  442.         267.890, 41.621, 274.513, 49.022, 13,
  443.         265.004, 58.219, 267.530, 62.368, 1,
  444.         265.609, 63.001, 310.416, 83.114, 79,
  445.         276.536, 33.119, 284.959, 42.696, 16,
  446.         275.010, 43.015, 284.237, 52.762, 11,
  447.         276.053, 53.248, 283.496, 62.990, 9,
  448.         285.740, 39.522, 290.072, 41.846, 5,
  449.         288.697, 43.464, 304.596, 51.629, 23,
  450.         285.349, 57.764, 292.205, 62.888, 5,
  451.         295.034, 53.264, 302.653, 62.563, 7,
  452.         305.106, 47.390, 318.189, 62.840, 31,
  453.         318.128, 63.210, 324.281, 66.444, 9,
  454.         326.902, 68.439, 347.845, 82.714, 23,
  455.         193.802, 32.816, 337.982, 83.624, 51,
  456.         241.596, 18.318, 250.599, 33.003, 21,
  457.         259.350, -1.035, 269.904, 17.133, 7,
  458.         253.313, 18.146, 268.479, 25.969, 8,
  459.         278.116, -1.715, 282.971, 7.999, 8,
  460.         270.940, 9.553, 275.235, 13.463, 9,
  461.         276.128, 8.021, 279.969, 13.549, 16,
  462.         271.089, 14.353, 277.279, 17.550, 11,
  463.         269.271, 18.191, 278.907, 21.946, 8,
  464.         280.082, 8.119, 290.260, 12.631, 14, 
  465.         280.367, 17.697, 285.982, 26.929, 28,
  466.         291.583, 8.398, 299.575, 16.814, 22,
  467.         286.185, 17.092, 298.271, 32.382, 30,
  468.         300.341, -1.017, 330.640, 13.337, 15,
  469.         250.195, 5.999, 302.842, 26.765, 24,
  470.         151.652, 56.536, 194.459, 71.598, 11,
  471.         172.476, 51.347, 195.073, 54.292, 29,
  472.         170.136, 0.130, 205.208, 28.394, 43};
  473.  
  474. /* byte offsets to the beginning of each region */
  475. long coast_off_index [] = {0, 220, 280, 580, 700, 1260, 1720, 1920, 3100, 
  476.                         3140, 3940, 4200, 4220, 5800, 6120, 6340, 6520, 6620,
  477.                         7080, 7180, 7320, 7940, 8120, 8580, 9600, 10020, 10160,
  478.                         10320, 10480, 10660, 10980, 11200, 11360, 11640, 12200,
  479.                         12640, 13240, 13540, 14020, 14240, 14820};
  480.  
  481. /***************************** state Boundaries *************************/
  482. #define num_state_reg  7
  483.  
  484. struct contour_reg state_reg[] = {    /* state boundary regions */
  485.     220.952, 29.707, 267.885, 68.901, 102,
  486.     268.260, 30.187, 302.900, 60.398, 99,
  487.     251.529, 19.060, 285.279, 27.794, 74,
  488.     256.254, 14.044, 283.743, 18.976, 122,
  489.     270.281, 9.065, 297.383, 13.970, 99,
  490.     277.281, -2.225, 309.961, 8.966, 118,
  491.     245.795, 7.238, 298.004, 56.844, 55};
  492.  
  493. /* byte offsets to the beginning of each region */
  494. long state_off_index [] = {0, 2040, 4020, 5500, 7940, 9920, 12280};
  495.  
  496. /********************** County Boundaries for the U.S. ******************/
  497.  
  498. #define num_county_reg  37
  499.  
  500. struct contour_reg county_reg[] = {    /* county boundary regions */
  501.     235.430, 42.010, 245.970, 49.010, 110,
  502.     235.960, 32.630, 245.960, 41.480, 82,
  503.     246.070, 42.250, 255.950, 49.000, 86,
  504.     247.300, 37.530, 250.940, 42.000, 31,
  505.     246.650, 31.350, 250.940, 37.000, 14,
  506.     251.610, 37.280, 255.950, 41.020, 41,
  507.     251.750, 30.650, 255.990, 36.990, 27,
  508.     256.340, 43.000, 263.960, 49.000, 157,
  509.     256.290, 37.370, 262.990, 43.000, 184,
  510.     256.950, 35.030, 263.970, 37.000, 50,
  511.     256.040, 26.070, 263.970, 34.960, 264,
  512.     263.730, 43.080, 272.880, 49.000, 177,
  513.     263.440, 36.510, 272.990, 42.920, 484,
  514.     263.360, 28.680, 272.980, 36.500, 424,
  515.     272.880, 41.540, 277.510, 46.750, 80,
  516.     272.720, 39.020, 275.990, 41.770, 88,
  517.     272.530, 37.050, 275.920, 38.990, 95,
  518.     272.650, 35.140, 275.990, 37.000, 54,
  519.     272.740, 33.110, 275.950, 34.990, 60,
  520.     272.540, 31.010, 275.990, 32.970, 52,
  521.     272.590, 29.740, 275.930, 33.250, 35,
  522.     278.510, 41.520, 285.940, 44.990, 69,
  523.     276.010, 39.010, 279.990, 41.740, 106,
  524.     276.020, 37.010, 279.930, 38.920, 72,
  525.     276.050, 35.020, 279.970, 36.960, 80,
  526.     276.010, 33.030, 279.900, 34.990, 80,
  527.     276.000, 31.020, 279.480, 32.930, 61,
  528.     276.010, 29.010, 278.890, 30.880, 32,
  529.     277.200, 25.180, 279.920, 28.950, 34,
  530.     280.000, 39.020, 283.910, 41.610, 79,
  531.     280.150, 37.020, 284.810, 38.960, 78,
  532.     280.290, 35.030, 284.120, 37.000, 76,
  533.     280.020, 33.130, 283.340, 34.980, 18,
  534.     284.000, 39.160, 285.990, 41.640, 42,
  535.     286.030, 41.540, 292.220, 46.570, 70,
  536.     286.000, 40.580, 287.700, 41.680, 13,
  537.     236.260, 28.340, 286.630, 48.990, 355};
  538.  
  539.  
  540.  
  541. /* Byte offsets to the beginning of each region in the county index file. */
  542. long county_off_index [] =
  543.         {  0, 2200, 3840, 5560, 6180, 6460, 7280, 7820, 10960, 14640, 15640,
  544.             20920, 24460, 34140, 42620, 44220, 45980, 47880, 48960, 50160,
  545.             51200, 51900, 53280, 55400, 56840, 58440, 60040, 61260, 61900,
  546.             62580, 64160, 65720, 67240, 67600, 68440, 69840, 70100};
  547.  
  548.  
  549. /* Isostatic Gravity for the U.S. */
  550.  
  551. #define num_isograv_reg  25
  552.  
  553. struct contour_reg isograv_reg[] = {    /* isograv boundary regions */
  554.     232.292, 40.708, 237.500, 49.500, 425,
  555.     233.333, 32.000, 237.500, 40.708, 230,
  556.     237.500, 40.708, 245.000, 49.500, 598,
  557.     237.500, 31.917, 245.000, 40.708, 1113,
  558.     237.583, 31.500, 243.625, 31.917, 79,
  559.     245.000, 40.708, 252.500, 49.459, 490,
  560.     245.000, 31.917, 252.500, 40.708, 714,
  561.     245.417, 30.917, 252.500, 31.917, 70,
  562.     252.500, 40.708, 260.000, 49.459, 306,
  563.     252.500, 31.917, 260.000, 40.708, 432,
  564.     252.500, 27.291, 260.000, 31.917, 114,
  565.     260.000, 40.708, 267.500, 49.417, 433,
  566.     260.000, 31.917, 267.500, 40.708, 247,
  567.     260.000, 24.583, 267.500, 31.917, 210,
  568.     267.500, 40.708, 275.000, 48.875, 329,
  569.     267.500, 31.917, 275.000, 40.708, 313,
  570.     267.500, 23.999, 275.000, 31.917, 277,
  571.     275.000, 40.708, 282.500, 47.500, 123,
  572.     275.000, 31.917, 282.500, 40.708, 338,
  573.     275.000, 23.528, 282.500, 31.917, 368,
  574.     282.500, 40.708, 290.000, 47.208, 180,
  575.     282.500, 31.917, 290.000, 40.708, 432,
  576.     282.500, 23.500, 288.584, 31.917, 497,
  577.     290.000, 40.708, 295.708, 47.833, 233,
  578.     290.000, 33.500, 295.626, 40.708, 211};
  579.  
  580. /* Byte offsets to the beginning of each region in the isograv index file. */
  581. long isograv_off_index [] =
  582.         {0, 8500, 13100, 25060, 47320, 48900, 58700, 72980, 74380, 80500,
  583.         89140, 91420, 100080, 105020, 109220, 115800, 122060, 127600, 130060,
  584.         136820, 144180, 147780, 156420, 166360, 171020};
  585.  
  586. /* Magsat Data */
  587.  
  588. #define num_magsat_reg  3
  589.  
  590. struct contour_reg magsat_reg[] = {    /* magsat boundary regions */
  591.     170.000, 0.00, 229.000, 50.000, 98,
  592.     229.000, 0.00, 289.000, 50.000, 149,
  593.     289.000, 0.00, 349.000, 50.000, 121};
  594.  
  595. /* Byte offsets to the beginning of each region in the magsat index file. */
  596. long magsat_off_index [] = {0, 1960, 4940};
  597.